list1 = []
# 1 - 10  数字写入列表
for item in range(1, 11):
    list1.append(item)
print(list1)


list2 = [item for item in range(1, 11)]
print(list2)